package makabakaquestionnaire.zutsoftware.system.service;

import makabakaquestionnaire.zutsoftware.system.entity.CourseProject;

import java.util.List;


/**
 * 课程问卷关联Service接口
 *
 * @author ruoyi
 * @date 2022-04-23
 */
public interface ICourseProjectService
{
    /**
     * 查询课程问卷关联
     *
     * @param courseId 课程问卷关联主键
     * @return 课程问卷关联
     */
    public List<CourseProject> selectCourseProjectByCourseId(Long courseId);

    /**
     * 查询课程问卷关联列表
     *
     * @param courseProject 课程问卷关联
     * @return 课程问卷关联集合
     */
    public List<CourseProject> selectCourseProjectList(CourseProject courseProject);

    /**
     * 新增课程问卷关联
     *
     * @param courseProject 课程问卷关联
     * @return 结果
     */
    public int insertCourseProject(CourseProject courseProject);

    /**
     * 修改课程问卷关联
     *
     * @param courseProject 课程问卷关联
     * @return 结果
     */
    public int updateCourseProject(CourseProject courseProject);

    /**
     * 批量删除课程问卷关联
     *
     * @param courseIds 需要删除的课程问卷关联主键集合
     * @return 结果
     */
    public int deleteCourseProjectByCourseIds(Long[] courseIds);

    /**
     * 删除课程问卷关联信息
     *
     * @param courseId 课程问卷关联主键
     * @return 结果
     */
    public int deleteCourseProjectByCourseId(Long courseId);
}
